"""


timedelta

"""

import datetime
import time

print(datetime.time.hour)  # <attribute 'hour' of 'datetime.time' objects>
print(time.localtime().tm_hour)  # 19

d = datetime.date(2019, 8, 9)
print(datetime.date.day)  # <attribute 'day' of 'datetime.date' objects>
print(time.time())  # 1597922617.9908102
print(datetime.date.ctime(d))  # Fri Aug  9 00:00:00 2019


